package com.cnt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.cnt.entity.Report;
import com.cnt.vo.ReportDonationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ReportDao extends BaseMapper<Report> {

    List<ReportDonationVo> getReportDonationList(Integer minAge, Integer oldAge, String name);

    List<ReportDonationVo> queryReportByUserId(Integer userId);
}
